package com.bai.Service;

import com.bai.dto.PublicResponseBody;
import com.bai.dto.TreeDto;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.io.IOException;

public interface FileService {
    PublicResponseBody addFile(String path, MultipartFile file) throws IOException;
    PublicResponseBody makeDir(String name,String path);
    PublicResponseBody delFile(int fileId,String path);
    TreeDto getFileList(int parentId);
    PublicResponseBody getFileCount();
}
